package com.atguigu.gmall.common.config.minio.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author nicc
 * @version 1.0
 * @className FileUploadService
 * @description TODO
 * @date 2022-09-28 20:19
 */
public interface FileUploadService {
    /**
     * 上传文件到minio
     * @param file
     * @return
     * @throws Exception
     */
    String upload(MultipartFile file) throws Exception;
}
